//! # RustCloud 集成测试主入口
//! 
//! 运行完整的端到端集成测试套件

use integration_tests::{IntegrationTestSuite, IntegrationTestConfig};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // 配置集成测试
    let config = IntegrationTestConfig {
        test_timeout: std::time::Duration::from_secs(60),
        verbose_logging: true,
        concurrency: 10,
        retry_count: 3,
    };

    // 创建测试套件
    let mut test_suite = IntegrationTestSuite::new(config);

    // 运行所有测试
    test_suite.run_all_tests().await?;

    println!("\n🎉 所有集成测试执行完成！");

    Ok(())
}